<!DOCTYPE html>
<html>
<head>
    <title>地籍类档案</title>
    <#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <#if shiro.hasPermission("dangan:dadjgll:save")>
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
        </#if>
        <#if shiro.hasPermission("dangan:dadjgll:update")>
        <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
    </#if>
    <#if shiro.hasPermission("dangan:dadjgll:delete")>
    <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
</#if>
</div>
<table id="jqGrid"></table>
<div id="jqGridPager"></div>
</div>

<div v-show="!showList" class="panel panel-default">
    <div class="panel-heading">{{title}}</div>
    <form class="form-horizontal">
        <div class="form-group">
            <div class="col-sm-2 control-label">土地使用者</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.landuser" placeholder="土地使用者"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">证号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.zh" placeholder="证号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">批准文号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.pzwh" placeholder="批准文号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">土地座落</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.position" placeholder="土地座落"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">档案保管地，保管单位</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.szd" placeholder="档案保管地，保管单位"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">批准机关</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.pzjg" placeholder="批准机关"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">土地用途</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.tdyt" placeholder="土地用途"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">地号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.dh" placeholder="地号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">权属性质</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.qsxz" placeholder="权属性质"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">图号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.th" placeholder="图号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">地类</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.dl" placeholder="地类"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">土地等级</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.tddj" placeholder="土地等级"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">发证日期</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.fzrq" placeholder="发证日期"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">件数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.js" placeholder="件数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">页数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.ys" placeholder="页数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">密级</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.mj" placeholder="密级"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">保管期限</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.bgqx" placeholder="保管期限"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">全宗号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.qzh" placeholder="全宗号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">目录号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.mlh" placeholder="目录号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">分类号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.flh" placeholder="分类号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">案卷号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.ajh" placeholder="案卷号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">年度</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.nd" placeholder="年度"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">创建时间</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.createdate" placeholder="创建时间"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">借出状态，1表示借出，0表示未借出</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.status" placeholder="借出状态，1表示借出，0表示未借出"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">查看次数</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.viewcount" placeholder="查看次数"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">分类号</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.父级分类号" placeholder="分类号"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label">面积</div>
            <div class="col-sm-10">
                <input type="text" class="form-control" v-model="daDjgll.tdmj" placeholder="面积"/>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-2 control-label"></div>
            <input type="button" class="btn btn-primary" id="btnSaveOrUpdate" data-loading-text="保存中..."
                   @click="saveOrUpdate" value="确定"/>
            &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
        </div>
    </form>
</div>
</div>

<script src="${request.contextPath}/statics/js/modules/dangan/dadjgll.js?_${.now?long}"></script>
</body>
</html>